package com.ruoyi.bysj.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库存储对象 sys_goods
 * 
 * @author laow
 * @date 2021-10-19
 */
public class SysGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 货物编号 */
    private Long goodsId;

    /** 货物名称 */
    @Excel(name = "货物名称")
    private String goodsName;

    /** 货物数量 */
    @Excel(name = "货物数量")
    private Long goodsNum;

    /** 货物分类 */
    @Excel(name = "货物分类")
    private String goodsClass;

    /** 货物原价 */
    @Excel(name = "货物原价")
    private BigDecimal goodsCost;

    /** 货物定价 */
    @Excel(name = "货物定价")
    private BigDecimal goodsPrice;

    /** 生产地址 */
    @Excel(name = "生产地址")
    private String goodsProduction;

    /** 货物位置 */
    @Excel(name = "货物位置")
    private String goodsAddress;

    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setGoodsNum(Long goodsNum) 
    {
        this.goodsNum = goodsNum;
    }

    public Long getGoodsNum() 
    {
        return goodsNum;
    }
    public void setGoodsClass(String goodsClass) 
    {
        this.goodsClass = goodsClass;
    }

    public String getGoodsClass() 
    {
        return goodsClass;
    }
    public void setGoodsCost(BigDecimal goodsCost)
    {
        this.goodsCost = goodsCost;
    }

    public BigDecimal getGoodsCost()
    {
        return goodsCost;
    }
    public void setGoodsPrice(BigDecimal goodsPrice)
    {
        this.goodsPrice = goodsPrice;
    }

    public BigDecimal getGoodsPrice()
    {
        return goodsPrice;
    }
    public void setGoodsProduction(String goodsProduction) 
    {
        this.goodsProduction = goodsProduction;
    }

    public String getGoodsProduction() 
    {
        return goodsProduction;
    }
    public void setGoodsAddress(String goodsAddress) 
    {
        this.goodsAddress = goodsAddress;
    }

    public String getGoodsAddress() 
    {
        return goodsAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("goodsName", getGoodsName())
            .append("goodsNum", getGoodsNum())
            .append("goodsClass", getGoodsClass())
            .append("goodsCost", getGoodsCost())
            .append("goodsPrice", getGoodsPrice())
            .append("goodsProduction", getGoodsProduction())
            .append("goodsAddress", getGoodsAddress())
            .toString();
    }
}
